  <tr>
    <td align="left" valign="top">
    <div class="block_box">
     <div class="block_top"><div></div></div>
        <div class="block_content">
        <h2>搜索"<%= params[:q]%>"结果</h2>
        <% if params[:search_type] == 'city' %>
           <% if @cities.nil? || @cities.empty?%>
              <br/>
              <br/>
              <br/>
              <br/>
              <p align="center">没有找到与<%= params[:q]%>有关的城市!</p>
              <br/>
              <br/>
              <br/>
              <br/>
           <% else %>
           <%= render :partial => 'cities', :object => @cities%>
           <% end %>
        <% end %>
        <% if params[:search_type] == 'district' %>
           <% if @districts.nil? || @districts.empty?%>
              <br/>
              <br/>
              <br/>
              <br/>
              <p align="center">没有找到与<%= params[:q]%>有关的城区!</p>
              <br/>
              <br/>
              <br/>
              <br/>
           <% else %>
           <%= render :partial => 'districts', :object => @districts%>
           <% end %>
        <% end %>
        <% if params[:search_type] == 'community' %>
           <% if @communities.nil? || @communities.empty?%>
              <br/>
              <br/>
              <br/>
              <br/>
              <p align="center">没有找到与<%= params[:q]%>有关的社区!</p>
              <br/>
              <br/>
              <br/>
              <br/>
           <% else %>
           <%= render :partial => 'communities', :object => @communities%>
           <% end %>
        <% end %>
        </div>
     <div class="block_bottom"><div></div></div>
    </div>
 </td>
    <td width="30%" align="left" valign="top">
 
 <div class="block_box">
     <div class="block_top"><div></div></div>
        <div class="block_content">
       <form method="get" action ="/city/search/">
         <input name="q" type="text" size="32" maxlength="72" value="" id="page_focus"/>
         <input id="search_type_city" name="search_type" type="radio" value="city" />城市
         <input id="search_type_district" name="search_type" type="radio" value="district" />城区
         <input id="search_type_community" name="search_type" type="radio" value="community" />社区
         <input type="submit" value="搜索"/>
       </form>
   </div>
     <div class="block_bottom"><div></div></div>
 </div>
 <br/>
 
 </td>
</tr>